package com.max.back.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;
/**
 *病历
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sick")
public class Sick implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *病历号
     */
    @TableId("id")
    private String id;
    /**
     *患者名
     */
    @TableField("name")
    private String name;
    /**
     *性别
     */
    @TableField("sex")
    private String sex;
    /**
     *手机号
     */
    @TableField("phone")
    private String phone;
    /**
     *缴费状态
     */
    @TableField("pay")
    private String pay;
    /**
     *需要药品列表
     */
    private List<SickDrug> sickDrugs;
}
